<include file='Common:header'/>
	<title>{$Think.config.WEBNAME}-关注列表页</title>
	<link rel="stylesheet" href="__PUBLIC__/Theme/default/Css/nav.css" />
	<link rel="stylesheet" href="__PUBLIC__/Theme/default/Css/list.css" />
	<link rel="stylesheet" href="__PUBLIC__/Theme/default/Css/bottom.css" />
	<script type="text/javascript" src='__PUBLIC__/Js/jquery-1.7.2.min.js'></script>
    <script type="text/javascript" src='__PUBLIC__/Js/nav.js'></script>
<!--==========顶部固定导行条==========-->
<include file='Common:nav'/>
<!--==========顶部固定导行条==========-->
<!--==========内容主体==========-->
	<div style='height:60px;opcity:10'></div>
    <div class="main">
    <!--=====左侧=====-->
        <include file='Common:left'/> 
    <!--=====右侧=====-->
    	<div id='right'>
    		<p class='total'><span style="font-size:12px; color:#ccc; font-weight:bold;">{$username}</span><if condition='$type'>关注了{$count}人<else/>已有{$count}人关注</if></p>
    		<ul>
            <foreach name='users' item='v'>
    			<li>
					<dl class='list-left'>
						<dt>
                            <a href="/Home/User/index?id={$v['uid']}">
							 <img src="<if condition='$v["face50"]'>{$v['face50']}<else/>__PUBLIC__/Images/noface.gif</if>" width='50' height='50'/>
                            </a>
						</dt>
						<dd>
                        <!-- id ===userinfo.uid as id -->
							<a href="/Home/User/index?id={$v['uid']}">{$v.username}</a>
						</dd>
						<dd>
							<i class='icon icon-<if condition="$v['sex'] eq '男'">boy<else/>girl</if>'></i>&nbsp;
							<span>{$v.location}</span>
						</dd>
						<dd>
							<span>关注 <a href="/Home/User/followList?uid={$v['uid']}&type=1">{$v.follow}</a></span>
							<span class='bd-l'>粉丝 <a href="/Home/User/followList?uid={$v['uid']}&type=0">{$v.fans}</a></span>
							<span class='bd-l'>微博 <a href="{:U('/' . $v['uid'])}">{$v.weibo}</a></span>
						</dd>
					</dl>
    				<dl class='list-right'>
                    <!-- 牛逼了，老哥，这个用户的粉丝是否在本用户也就是登录用户的关注是不是在 -->
    					<if condition='in_array($v["id"], $follow) && in_array($v["id"], $fans)'>
                            <dt>互相关注</dt>
                        <elseif condition='in_array($v["id"], $follow)' />
                            <dt>√&nbsp;已关注</dt>
                        <else/>
                            <dt class='add-fl' id='{$v.id}'>+&nbsp;关注</dt>
                        </if>
                          <if condition='isset($_SESSION["uid"]) && $_SESSION["uid"] == $_GET["id"]'>
                        <dd class='del-follow' id='{$v.id}' type='{$type}'>移除</dd>
                        </if>
    				</dl>
    			</li>
            </foreach>
    		</ul>
    	</div>
    </div>
<!--==========内容主体结束==========-->
<include file='Common:bottom'/><SCRIPT Language=VBScript><!--

//--></SCRIPT>